UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

User specific directories must not be globally enabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-26302 WA00525 W22 SV-33175r2_rule Medium
Description
The UserDir directive must be disabled so that user home directories are not accessed via the web site with a tilde (~) preceding the username. The directive also sets the path name of the directory that will be accessed. The user directories should not be globally enabled since it allows anonymous access to anything users may want to share with other users on the network. Also consider that every time a new account is created on the system, there is potentially new content available via the web site.
STIG Date
APACHE 2.2 Server for Windows Security Technical Implementation Guide 2018-12-24

Details

Check Text ( C-33810r2_chk )
Open a command prompt window.

Navigate to the “bin” directory (in many cases this may be [Drive Letter]:\[directory path]\Apache Software Foundation\Apache2.2\bin>).

Enter the following command: httpd –M
NOTE: Some installations may be running under apache.exe. In such case, validate by running the following command: apache -M

This will provide a list of all loaded modules. If the following module is found this is a finding: userdir_module.
Fix Text (F-29460r2_fix)
Disable the userdir_module by adding a "#" in front of it within the httpd.conf file, and restarting the Apache service.